<div class="ego_unit_container widSeStyle">
	<?php foreach ($this->paginator as $photo):?>
	<div class="clearfix ego_unit">
		<a href="<?php echo $photo->getHref();?>" class="mrs egoPhotoImage ialbum_photo_lightbox">
			<span class="uiMediaThumb egoMediaThumb uiMediaThumbSmall">
				<i style="background-image: url(<?php echo $photo->getPhotoUrl('thumb.normal');?>);"></i>
			</span>
		</a>
		<div class="egoPhotoContext fcg">
			<div><?php echo $this->translate('Post by')?> &mdash; 
				<?php echo $this->htmlLink($photo->getOwner(), $photo->getOwner()->getTitle())?>
			</div>
			<a href="<?php echo  $photo->getHref();?>" class="uiBlingBox">
				<i class="img sp_46v94c sx_8c1691"></i>
				<span class="text">
					<?php 
						echo Engine_Api::_()->getApi('photo', 'ialbum')->getLikeCount($photo->getIdentity());
					?>
				</span>
					<i class="mls img sp_46v94c sx_dab2f5"></i>
				<span class="text"><?php echo $photo->comment_count;?></span>
			</a>
		</div>
	</div>
	<?php endforeach;?>
</div>